using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.IO.Compression;

namespace SMS.Framework
{
    public class AppInfo
    {
        private string _version;
        private PathInfo _pathInfo = new PathInfo();
        private string _PosDbConnectionString;
        private string _LocalDbConnectionString;

        public AppInfo()
        {
        }

        public string Version
        {
            get { return _version; }
            set { _version = value; }
        }

        public PathInfo PathInfo
        {
            get { return _pathInfo; }
            set { _pathInfo = value; }

        }

        public string PosDbConnectionString
        {
            get { return _PosDbConnectionString; }
            set { _PosDbConnectionString = value; }
        }

        public string LocalDbConnectionString
        {
            get { return _LocalDbConnectionString; }
            set { _LocalDbConnectionString = value; }
        }

    }

    public class PathInfo
    {
        private string _SMSServerUrl;
        private Uri _taskPath;
        private Uri _posDataPath;
        private string _PortalServerUrl;

        private string _sqlStringFilePath;

        public string SqlStringFilePath
        {
            get { return _sqlStringFilePath; }
            set { _sqlStringFilePath = value; }
        }

        public PathInfo()
        {
        }

        public string SMSServerUrl
        {
            get { return _SMSServerUrl; }
            set { _SMSServerUrl = value; }
        }

        public Uri TaskPath
        {
            get { return _taskPath; }
            set { _taskPath = value; }
        }

        public Uri PosDataPath
        {
            get { return _posDataPath; }
            set { _posDataPath = value; }
        }

        public string PortalServerUrl
        {
            get { return _PortalServerUrl; }
            set { _PortalServerUrl = value; }
        }


    }
    public class MaterialInfo
    {
        private string ver_num;

        public string VersionNumber
        {
            get { return ver_num; }
            set { ver_num = value; }
        }

    }
}
